package org.firecloud.h5fun.model.javabean;

public class ColumnBean {
	/**
	 * 栏目ID
	 */
	private byte id;
	/**
	 * 栏目名称
	 */
	private String name;
	/**
	 * 栏目排序优先级
	 */
	private int priority;
	public byte getId() {
		return id;
	}
	public void setId(byte id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ColumnBean other = (ColumnBean) obj;
		if (id != other.id)
			return false;
		return true;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPriority() {
		return priority;
	}
	public void setPriority(int priority) {
		this.priority = priority;
	}
	@Override
	public String toString() {
		return "ColumBean [id=" + id + ", name=" + name + ", priority=" + priority + "]";
	}
}
